<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>狮子座今日运势 - 星运社交</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    
    <style>
        /* 基础样式 */
        body {
            font-family: 'Inter', system-ui, sans-serif;
            background-color: #f5f7fa;
            color: #333;
            line-height: 1.6;
        }
        
        /* 导航栏 */
        .navbar {
            background-color: white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .logo {
            font-weight: 700;
            font-size: 1.5rem;
            color: #6c5ce7;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        /* 主内容区 */
        .container {
            max-width: 1140px;
        }
        
        .main-content {
            padding: 2rem 0;
        }
        
        /* 面包屑导航 */
        .breadcrumb {
            background-color: transparent;
            padding: 0;
            margin-bottom: 1.5rem;
            font-size: 0.9rem;
        }
        
        .breadcrumb-item a {
            color: #6c757d;
            text-decoration: none;
        }
        
        .breadcrumb-item.active {
            color: #6c5ce7;
        }
        
        /* 运势详情卡片 */
        .horoscope-detail-card {
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 3px 15px rgba(0,0,0,0.05);
            overflow: hidden;
            margin-bottom: 2rem;
        }
        
        .horoscope-header {
            padding: 2rem;
            background: linear-gradient(135deg, #6c5ce7, #a29bfe);
            color: white;
            position: relative;
        }
        
        .zodiac-badge {
            position: absolute;
            top: 20px;
            right: 20px;
            background-color: rgba(255,255,255,0.2);
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.9rem;
        }
        
        .zodiac-main {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            margin-bottom: 1rem;
        }
        
        .zodiac-icon {
            font-size: 4rem;
        }
        
        .zodiac-info h1 {
            font-size: 2.2rem;
            margin-bottom: 0.5rem;
            font-weight: 700;
        }
        
        .zodiac-date {
            opacity: 0.9;
            font-size: 1rem;
        }
        
        .horoscope-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            font-size: 0.9rem;
        }
        
        .meta-item {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        /* 运势内容 */
        .horoscope-content {
            padding: 2rem;
        }
        
        .horoscope-section {
            margin-bottom: 2rem;
        }
        
        .horoscope-section-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: #4a4a4a;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .horoscope-section-title i {
            color: #6c5ce7;
        }
        
        .horoscope-description {
            color: #495057;
            margin-bottom: 1.5rem;
            font-size: 1.05rem;
        }
        
        /* 运势评分 */
        .aspects-rating {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .aspect-item {
            text-align: center;
            padding: 1rem;
            background-color: #f8f9fa;
            border-radius: 8px;
        }
        
        .aspect-icon {
            font-size: 1.8rem;
            margin-bottom: 0.75rem;
            color: #6c5ce7;
        }
        
        .aspect-name {
            font-weight: 500;
            margin-bottom: 0.5rem;
            color: #495057;
        }
        
        .aspect-score {
            font-size: 1.5rem;
            font-weight: 700;
            color: #6c5ce7;
            margin-bottom: 0.5rem;
        }
        
        .aspect-rating {
            display: flex;
            justify-content: center;
            gap: 2px;
        }
        
        .rating-star {
            color: #dfe6e9;
            font-size: 1rem;
        }
        
        .rating-star.filled {
            color: #fdcb6e;
        }
        
        /* 幸运提示 */
        .lucky-tips {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .tips-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1rem;
        }
        
        .tip-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
        
        .tip-icon {
            font-size: 1.5rem;
            color: #6c5ce7;
            margin-bottom: 0.5rem;
        }
        
        .tip-label {
            font-size: 0.85rem;
            color: #6c757d;
            margin-bottom: 0.25rem;
        }
        
        .tip-value {
            font-weight: 500;
        }
        
        /* 作者信息 */
        .author-section {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding-top: 1.5rem;
            border-top: 1px solid #f1f1f1;
        }
        
        .author-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .author-info {
            flex: 1;
        }
        
        .author-name {
            font-weight: 600;
            font-size: 1.1rem;
            margin-bottom: 0.25rem;
        }
        
        .author-title {
            color: #6c757d;
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
        }
        
        .author-bio {
            color: #6c757d;
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
        }
        
        .follow-btn {
            background-color: transparent;
            border: 1px solid #6c5ce7;
            color: #6c5ce7;
            padding: 6px 16px;
            border-radius: 20px;
            font-weight: 500;
            transition: all 0.2s;
        }
        
        .follow-btn:hover, .follow-btn.following {
            background-color: #6c5ce7;
            color: white;
        }
        
        /* 操作按钮 */
        .action-buttons {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }
        
        .action-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            border-radius: 20px;
            font-weight: 500;
            transition: all 0.2s;
            border: none;
            cursor: pointer;
        }
        
        .primary-action {
            background-color: #6c5ce7;
            color: white;
        }
        
        .primary-action:hover {
            background-color: #5a4acf;
        }
        
        .secondary-action {
            background-color: #f1f3f5;
            color: #495057;
        }
        
        .secondary-action:hover {
            background-color: #e9ecef;
        }
        
        .action-btn i {
            font-size: 1.1rem;
        }
        
        /* 相关推荐 */
        .related-horoscopes {
            margin-bottom: 2rem;
        }
        
        .related-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1rem;
        }
        
        .related-item {
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            transition: transform 0.2s;
            text-decoration: none;
            color: inherit;
        }
        
        .related-item:hover {
            transform: translateY(-3px);
            color: inherit;
        }
        
        .related-image {
            height: 140px;
            background: linear-gradient(135deg, #6c5ce7, #a29bfe);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 2.5rem;
        }
        
        .related-content {
            padding: 1rem;
        }
        
        .related-zodiac {
            font-size: 0.9rem;
            color: #6c757d;
            margin-bottom: 0.25rem;
        }
        
        .related-title {
            font-weight: 600;
            margin-bottom: 0.5rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .related-date {
            font-size: 0.85rem;
            color: #6c757d;
        }
        
        /* 评论区 */
        .comments-section {
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 3px 15px rgba(0,0,0,0.05);
            padding: 2rem;
            margin-bottom: 2rem;
        }
        
        .comments-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        
        .comments-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: #4a4a4a;
        }
        
        .comments-count {
            color: #6c757d;
            font-size: 0.9rem;
        }
        
        /* 评论输入框 */
        .comment-form {
            margin-bottom: 2rem;
        }
        
        .comment-form-inner {
            display: flex;
            gap: 1rem;
        }
        
        .user-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .comment-input-container {
            flex: 1;
        }
        
        .comment-input {
            width: 100%;
            border: 1px solid #dee2e6;
            border-radius: 8px;
            padding: 12px 16px;
            resize: none;
            min-height: 100px;
            font-family: inherit;
            transition: all 0.2s;
        }
        
        .comment-input:focus {
            outline: none;
            border-color: #6c5ce7;
            box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
        }
        
        .comment-form-actions {
            display: flex;
            justify-content: flex-end;
            margin-top: 0.75rem;
        }
        
        .post-comment-btn {
            background-color: #6c5ce7;
            color: white;
            border: none;
            border-radius: 6px;
            padding: 8px 20px;
            font-weight: 500;
            transition: all 0.2s;
        }
        
        .post-comment-btn:hover {
            background-color: #5a4acf;
        }
        
        /* 评论列表 */
        .comments-list {
            margin-bottom: 2rem;
        }
        
        .comment-item {
            padding: 1.5rem 0;
            border-bottom: 1px solid #f1f1f1;
        }
        
        .comment-item:last-child {
            border-bottom: none;
        }
        
        .comment-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.75rem;
        }
        
        .comment-author {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        
        .comment-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .author-details {
            line-height: 1.3;
        }
        
        .author-name {
            font-weight: 500;
        }
        
        .comment-time {
            font-size: 0.85rem;
            color: #6c757d;
        }
        
        .comment-actions {
            display: flex;
            gap: 1rem;
        }
        
        .comment-action-btn {
            color: #6c757d;
            background: none;
            border: none;
            font-size: 0.9rem;
            cursor: pointer;
            transition: color 0.2s;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .comment-action-btn:hover {
            color: #6c5ce7;
        }
        
        .comment-action-btn.liked {
            color: #e74c3c;
        }
        
        .comment-content {
            color: #495057;
            margin-bottom: 0.5rem;
        }
        
        /* 回复区域 */
        .replies-container {
            margin-top: 1rem;
            padding-left: 2rem;
        }
        
        .reply-item {
            padding: 1rem 0;
            border-bottom: 1px solid #f1f1f1;
        }
        
        .reply-item:last-child {
            border-bottom: none;
        }
        
        .reply-form {
            margin-top: 1rem;
            display: flex;
            gap: 0.75rem;
        }
        
        .reply-input {
            flex: 1;
            border: 1px solid #dee2e6;
            border-radius: 6px;
            padding: 8px 12px;
            resize: none;
            min-height: 80px;
            font-family: inherit;
            font-size: 0.9rem;
        }
        
        .reply-actions {
            display: flex;
            gap: 0.5rem;
            align-items: flex-end;
        }
        
        .reply-btn {
            background-color: #6c5ce7;
            color: white;
            border: none;
            border-radius: 6px;
            padding: 6px 16px;
            font-size: 0.9rem;
        }
        
        .cancel-reply-btn {
            background: none;
            border: none;
            color: #6c757d;
            font-size: 0.9rem;
            cursor: pointer;
        }
        
        /* 加载更多评论 */
        .load-more-comments {
            display: block;
            width: 100%;
            background-color: #f8f9fa;
            border: none;
            padding: 10px;
            border-radius: 6px;
            color: #6c5ce7;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .load-more-comments:hover {
            background-color: #e9ecef;
        }
        
        /* 页脚 */
        footer {
            background-color: white;
            padding: 3rem 0;
            margin-top: 3rem;
            border-top: 1px solid #e9ecef;
        }
        
      
        /* 响应式调整 */
        @media (max-width: 768px) {
            .zodiac-main {
                flex-direction: column;
                text-align: center;
            }
            
            .horoscope-meta {
                justify-content: center;
            }
            
            .action-buttons {
                justify-content: center;
            }
            
            .aspects-rating, .tips-list {
                grid-template-columns: 1fr 1fr;
            }
            
            .author-section {
                flex-direction: column;
                text-align: center;
            }
            
            .comment-form-inner {
                flex-direction: column;
            }
            
            .replies-container {
                padding-left: 0;
            }
        }
        
        @media (max-width: 576px) {
            .aspects-rating, .tips-list {
                grid-template-columns: 1fr;
            }
            
            .zodiac-icon {
                font-size: 3rem;
            }
            
            .zodiac-info h1 {
                font-size: 1.8rem;
            }
            
            .action-btn span {
                display: none;
            }
            
            .action-btn {
                padding: 10px;
                border-radius: 50%;
            }
        }
    </style>
</head>
<body>
    <!-- 导航栏 -->
    <nav class="navbar navbar-expand-lg py-3">
        <div class="container">
            <a href="#" class="logo">
                <i class="fas fa-star"></i>
                <span>星运社交</span>
            </a>
            
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarContent">
                <i class="fas fa-bars"></i>
            </button>
            
            <div class="collapse navbar-collapse" id="navbarContent">
                <ul class="navbar-nav ms-auto gap-3">
                    <li class="nav-item">
                        <a href="#" class="nav-link"><i class="fas fa-home me-1"></i> 首页</a>
                    </li>
                    <li class="nav-item">
                        <a href="#" class="nav-link active"><i class="fas fa-moon me-1"></i> 星座运程</a>
                    </li>
                    <li class="nav-item">
                        <a href="#" class="nav-link"><i class="fas fa-users me-1"></i> 星友圈</a>
                    </li>
                    <li class="nav-item">
                        <a href="#" class="nav-link"><i class="fas fa-bell me-1"></i> 通知</a>
                    </li>
                    <li class="nav-item">
                        <a href="#" class="btn" style="background-color: #6c5ce7; color: white;">
                            <i class="fas fa-plus me-1"></i> 发布运势
                        </a>
                    </li>
                </ul>
            </div>
        </div>
    </nav>
    
    <!-- 主内容区 -->
    <div class="container main-content">
        <!-- 面包屑导航 -->
        <nav aria-label="breadcrumb">
            <ol class="breadcrumb">
                <li class="breadcrumb-item"><a href="#">首页</a></li>
                <li class="breadcrumb-item"><a href="#">星座运程</a></li>
                <li class="breadcrumb-item"><a href="#">狮子座</a></li>
                <li class="breadcrumb-item active" aria-current="page">今日运势</li>
            </ol>
        </nav>
        
        <!-- 运势详情卡片 -->
        <div class="horoscope-detail-card">
            <div class="horoscope-header">
                <div class="zodiac-main">
                    <i class="fas fa-sun zodiac-icon"></i>
                    <div class="zodiac-info">
                        <h1>狮子座今日运势</h1>
                        <div class="zodiac-date">7月23日-8月22日</div>
                    </div>
                </div>
                
                <div class="zodiac-badge">今日运势</div>
                
                <div class="horoscope-meta">
                    <div class="meta-item">
                        <i class="far fa-calendar-alt"></i>
                        <span>发布于 2023年6月15日</span>
                    </div>
                    <div class="meta-item">
                        <i class="far fa-eye"></i>
                        <span>阅读 2,547</span>
                    </div>
                    <div class="meta-item">
                        <i class="far fa-comment"></i>
                        <span>评论 86</span>
                    </div>
                </div>
            </div>
            
            <div class="horoscope-content">
                <div class="horoscope-section">
                    <h2 class="horoscope-section-title">
                        <i class="fas fa-info-circle"></i> 整体运势
                    </h2>
                    <p class="horoscope-description">
                        今日狮子座的整体运势表现出色，太阳的能量加持让你充满自信与活力。在工作上，适合主动承担新任务，你的领导力将得到认可。感情方面，单身狮子有机会遇到心仪对象，已有伴侣的狮子则能感受到关系的升温。
                    </p>
                    <p class="horoscope-description">
                        今天的狮子座在社交场合中会成为焦点人物，你的魅力和幽默感将吸引周围人的注意。不过要注意不要过于自我中心，适当倾听他人的想法会让你更受欢迎。健康方面状态良好，但仍需注意合理安排作息时间。
                    </p>
                </div>
                
                <div class="horoscope-section">
                    <h2 class="horoscope-section-title">
                        <i class="fas fa-star-half-alt"></i> 各方面运势
                    </h2>
                    
                    <div class="aspects-rating">
                        <div class="aspect-item">
                            <i class="fas fa-heart aspect-icon"></i>
                            <div class="aspect-name">爱情</div>
                            <div class="aspect-score">85分</div>
                            <div class="aspect-rating">
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star"></i>
                            </div>
                        </div>
                        <div class="aspect-item">
                            <i class="fas fa-briefcase aspect-icon"></i>
                            <div class="aspect-name">事业</div>
                            <div class="aspect-score">95分</div>
                            <div class="aspect-rating">
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                            </div>
                        </div>
                        <div class="aspect-item">
                            <i class="fas fa-money aspect-icon"></i>
                            <div class="aspect-name">财运</div>
                            <div class="aspect-score">70分</div>
                            <div class="aspect-rating">
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star"></i>
                                <i class="fas fa-star rating-star"></i>
                            </div>
                        </div>
                        <div class="aspect-item">
                            <i class="fas fa-heartbeat aspect-icon"></i>
                            <div class="aspect-name">健康</div>
                            <div class="aspect-score">85分</div>
                            <div class="aspect-rating">
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star filled"></i>
                                <i class="fas fa-star rating-star"></i>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="horoscope-section">
                    <h2 class="horoscope-section-title">
                        <i class="fas fa-lightbulb"></i> 运势建议
                    </h2>
                    <p class="horoscope-description">
                        今日适合参加社交活动和团队合作项目，你的能力将得到充分发挥。在财务方面，避免冲动消费，制定合理的支出计划会让你的经济状况更加稳定。感情方面，主动表达自己的想法会让关系更进一步。
                    </p>
                    <p class="horoscope-description">
                        晚上可以适当放松自己，听音乐或进行轻度运动，有助于缓解一天的压力。明天的运势会更加偏向于个人成长和学习，今天可以提前做好准备。
                    </p>
                </div>
                
                <div class="horoscope-section">
                    <h2 class="horoscope-section-title">
                        <i class="fas fa-lucky"></i> 幸运提示
                    </h2>
                    <div class="lucky-tips">
                        <div class="tips-list">
                            <div class="tip-item">
                                <i class="fas fa-palette tip-icon"></i>
                                <div class="tip-label">幸运颜色</div>
                                <div class="tip-value">金色</div>
                            </div>
                            <div class="tip-item">
                                <i class="fas fa-number tip-icon"></i>
                                <div class="tip-label">幸运数字</div>
                                <div class="tip-value">1、9</div>
                            </div>
                            <div class="tip-item">
                                <i class="fas fa-drumstick-bite tip-icon"></i>
                                <div class="tip-label">幸运食物</div>
                                <div class="tip-value">柑橘类水果</div>
                            </div>
                            <div class="tip-item">
                                <i class="fas fa-directions tip-icon"></i>
                                <div class="tip-label">幸运方位</div>
                                <div class="tip-value">正南方向</div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="author-section">
                    <img src="https://picsum.photos/100/100?random=301" alt="占星师莉莉的头像" class="author-avatar">
                    <div class="author-info">
                        <div class="author-name">占星师莉莉</div>
                        <div class="author-title">资深星座分析师 · 占星专栏作家</div>
                        <div class="author-bio">专注星座运势解读10年，擅长结合星象变化分析个人运势走向</div>
                        <button class="follow-btn">
                            <i class="fas fa-plus"></i> 关注
                        </button>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 操作按钮 -->
        <div class="action-buttons">
            <button class="action-btn primary-action share-btn">
                <i class="fas fa-share-alt"></i>
                <span>分享</span>
            </button>
            <button class="action-btn secondary-action like-btn">
                <i class="far fa-heart"></i>
                <span>点赞 (128)</span>
            </button>
            <button class="action-btn secondary-action save-btn">
                <i class="far fa-bookmark"></i>
                <span>收藏</span>
            </button>
            <button class="action-btn secondary-action comment-btn">
                <i class="far fa-comment"></i>
                <span>写评论</span>
            </button>
            <button class="action-btn secondary-action report-btn">
                <i class="fas fa-flag"></i>
                <span>举报</span>
            </button>
        </div>
        
        <!-- 相关推荐 -->
        <div class="related-horoscopes">
            <h2 class="horoscope-section-title">
                <i class="fas fa-thumbs-up"></i> 相关推荐
            </h2>
            <div class="related-list">
                <a href="#" class="related-item">
                    <div class="related-image">
                        <i class="fas fa-sun"></i>
                    </div>
                    <div class="related-content">
                        <div class="related-zodiac">狮子座 · 明日运势</div>
                        <div class="related-title">狮子座明日运势：迎来新的机遇，财务方面需谨慎</div>
                        <div class="related-date">2023-06-14</div>
                    </div>
                </a>
                <a href="#" class="related-item">
                    <div class="related-image">
                        <i class="fas fa-sun"></i>
                    </div>
                    <div class="related-content">
                        <div class="related-zodiac">狮子座 · 本周运势</div>
                        <div class="related-title">狮子座本周运势：事业发展顺利，感情有新突破</div>
                        <div class="related-date">2023-06-12</div>
                    </div>
                </a>
                <a href="#" class="related-item">
                    <div class="related-image">
                        <i class="fas fa-bullhorn"></i>
                    </div>
                    <div class="related-content">
                        <div class="related-zodiac">金牛座 · 今日运势</div>
                        <div class="related-title">金牛座今日运势：财务状况良好，适合稳健投资</div>
                        <div class="related-date">2023-06-15</div>
                    </div>
                </a>
            </div>
        </div>
        
        <!-- 评论区 -->
        <div class="comments-section">
            <div class="comments-header">
                <h2 class="comments-title">用户评论</h2>
                <span class="comments-count">共 86 条评论</span>
            </div>
            
            <!-- 评论输入框 -->
            <div class="comment-form">
                <div class="comment-form-inner">
                    <img src="https://picsum.photos/100/100?random=101" alt="当前用户头像" class="user-avatar">
                    <div class="comment-input-container">
                        <textarea class="comment-input" placeholder="分享你的想法..."></textarea>
                        <div class="comment-form-actions">
                            <button class="post-comment-btn">发表评论</button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 评论列表 -->
            <div class="comments-list">
                <!-- 评论1 -->
                <div class="comment-item">
                    <div class="comment-header">
                        <div class="comment-author">
                            <img src="https://picsum.photos/100/100?random=201" alt="用户头像" class="comment-avatar">
                            <div class="author-details">
                                <div class="author-name">星光闪耀</div>
                                <div class="comment-time">2小时前</div>
                            </div>
                        </div>
                        <div class="comment-actions">
                            <button class="comment-action-btn like-btn">
                                <i class="far fa-heart"></i>
                                <span>24</span>
                            </button>
                            <button class="comment-action-btn reply-btn">
                                <i class="far fa-reply"></i>
                                <span>回复</span>
                            </button>
                        </div>
                    </div>
                    <div class="comment-content">
                        说得太准了！今天在工作中确实得到了领导的认可，还被委以重任，感觉能量满满！感谢占星师的解读！
                    </div>
                    
                    <!-- 回复区域 -->
                    <div class="replies-container">
                        <!-- 回复1 -->
                        <div class="reply-item">
                            <div class="comment-header">
                                <div class="comment-author">
                                    <img src="https://picsum.photos/100/100?random=301" alt="占星师莉莉的头像" class="comment-avatar">
                                    <div class="author-details">
                                        <div class="author-name">占星师莉莉 <span class="badge bg-primary bg-opacity-20 text-primary">作者</span></div>
                                        <div class="comment-time">1小时前</div>
                                    </div>
                                </div>
                                <div class="comment-actions">
                                    <button class="comment-action-btn like-btn">
                                        <i class="far fa-heart"></i>
                                        <span>8</span>
                                    </button>
                                    <button class="comment-action-btn reply-btn">
                                        <i class="far fa-reply"></i>
                                        <span>回复</span>
                                    </button>
                                </div>
                            </div>
                            <div class="comment-content">
                                @星光闪耀 恭喜你！狮子座本周的事业运确实非常强劲，继续加油哦！
                            </div>
                        </div>
                        
                        <!-- 回复输入框 -->
                        <div class="reply-form" style="display: none;">
                            <img src="https://picsum.photos/100/100?random=101" alt="当前用户头像" class="comment-avatar">
                            <textarea class="reply-input" placeholder="回复 @星光闪耀..."></textarea>
                            <div class="reply-actions">
                                <button class="reply-btn">回复</button>
                                <button class="cancel-reply-btn">取消</button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 评论2 -->
                <div class="comment-item">
                    <div class="comment-header">
                        <div class="comment-author">
                            <img src="https://picsum.photos/100/100?random=202" alt="用户头像" class="comment-avatar">
                            <div class="author-details">
                                <div class="author-name">宇宙漫游者</div>
                                <div class="comment-time">5小时前</div>
                            </div>
                        </div>
                        <div class="comment-actions">
                            <button class="comment-action-btn like-btn liked">
                                <i class="fas fa-heart"></i>
                                <span>15</span>
                            </button>
                            <button class="comment-action-btn reply-btn">
                                <i class="far fa-reply"></i>
                                <span>回复</span>
                            </button>
                        </div>
                    </div>
                    <div class="comment-content">
                        幸运颜色是金色，刚好今天穿了金色的衬衫，希望能带来好运！感情方面也希望能有好消息，单身太久了哈哈哈
                    </div>
                    
                    <!-- 回复区域 -->
                    <div class="replies-container">
                        <!-- 回复1 -->
                        <div class="reply-item">
                            <div class="comment-header">
                                <div class="comment-author">
                                    <img src="https://picsum.photos/100/100?random=203" alt="用户头像" class="comment-avatar">
                                    <div class="author-details">
                                        <div class="author-name">星座爱好者</div>
                                        <div class="comment-time">3小时前</div>
                                    </div>
                                </div>
                                <div class="comment-actions">
                                    <button class="comment-action-btn like-btn">
                                        <i class="far fa-heart"></i>
                                        <span>3</span>
                                    </button>
                                    <button class="comment-action-btn reply-btn">
                                        <i class="far fa-reply"></i>
                                        <span>回复</span>
                                    </button>
                                </div>
                            </div>
                            <div class="comment-content">
                                @宇宙漫游者 祝你早日找到心仪的对象！狮子座今年的桃花运还是不错的
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 评论3 -->
                <div class="comment-item">
                    <div class="comment-header">
                        <div class="comment-author">
                            <img src="https://picsum.photos/100/100?random=204" alt="用户头像" class="comment-avatar">
                            <div class="author-details">
                                <div class="author-name">狮子王</div>
                                <div class="comment-time">昨天</div>
                            </div>
                        </div>
                        <div class="comment-actions">
                            <button class="comment-action-btn like-btn">
                                <i class="far fa-heart"></i>
                                <span>31</span>
                            </button>
                            <button class="comment-action-btn reply-btn">
                                <i class="far fa-reply"></i>
                                <span>回复</span>
                            </button>
                        </div>
                    </div>
                    <div class="comment-content">
                        财运70分，确实今天投资有点小亏损，看来要按照运势建议的那样，谨慎一些。健康方面感觉不错，晚上打算去跑步，保持好状态！
                    </div>
                </div>
            </div>
            
            <!-- 加载更多评论 -->
            <button class="load-more-comments">
                <i class="fas fa-spinner fa-spin me-2" style="display: none;"></i>
                加载更多评论
            </button>
        </div>
    </div>
    
    <!-- 页脚 -->
    <footer>
        <div class="container">
            <div class="text-center">
                <div class="mb-3">
                    <a href="#" class="logo">
                        <i class="fas fa-star"></i>
                        <span>星运社交</span>
                    </a>
                </div>
                <p class="text-muted mb-3">探索星象奥秘，连接星座爱好者</p>
                <div class="d-flex justify-content-center gap-4 mb-4">
                    <a href="#" class="text-muted"><i class="fab fa-weibo fa-lg"></i></a>
                    <a href="#" class="text-muted"><i class="fab fa-wechat fa-lg"></i></a>
                    <a href="#" class="text-muted"><i class="fab fa-instagram fa-lg"></i></a>
                </div>
                <p class="text-muted text-sm">&copy; 2023 星运社交 版权所有</p>
            </div>
        </div>
    </footer>
    

    <!-- Bootstrap 5 JS Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    
    <script>

        
        // 关注按钮
        const followBtn = document.querySelector('.follow-btn');
        followBtn.addEventListener('click', function() {
            if (this.classList.contains('following')) {
                this.classList.remove('following');
                this.innerHTML = '<i class="fas fa-plus"></i> 关注';
                showNotification('已取消关注');
            } else {
                this.classList.add('following');
                this.innerHTML = '<i class="fas fa-check"></i> 已关注';
                showNotification('关注成功');
            }
        });
        
        // 点赞功能
        document.querySelectorAll('.like-btn').forEach(button => {
            button.addEventListener('click', function() {
                const icon = this.querySelector('i');
                const countElem = this.querySelector('span');
                
                if (icon && countElem) {
                    // 有计数的点赞按钮（评论点赞）
                    const currentCount = parseInt(countElem.textContent);
                    
                    if (icon.classList.contains('far')) {
                        icon.classList.remove('far');
                        icon.classList.add('fas');
                        this.classList.add('liked');
                        countElem.textContent = currentCount + 1;
                        showNotification('点赞成功');
                    } else {
                        icon.classList.remove('fas');
                        icon.classList.add('far');
                        this.classList.remove('liked');
                        countElem.textContent = currentCount - 1;
                        showNotification('取消点赞');
                    }
                } else if (icon) {
                    // 无计数的点赞按钮（文章点赞）
                    if (icon.classList.contains('far')) {
                        icon.classList.remove('far');
                        icon.classList.add('fas');
                        this.classList.add('liked');
                        // 更新计数
                        const countText = this.querySelector('span').textContent;
                        const count = parseInt(countText.match(/\d+/)[0]);
                        this.querySelector('span').textContent = `点赞 (${count + 1})`;
                        showNotification('点赞成功');
                    } else {
                        icon.classList.remove('fas');
                        icon.classList.add('far');
                        this.classList.remove('liked');
                        // 更新计数
                        const countText = this.querySelector('span').textContent;
                        const count = parseInt(countText.match(/\d+/)[0]);
                        this.querySelector('span').textContent = `点赞 (${count - 1})`;
                        showNotification('取消点赞');
                    }
                }
            });
        });
        
        // 收藏功能
        const saveBtn = document.querySelector('.save-btn');
        saveBtn.addEventListener('click', function() {
            const icon = this.querySelector('i');
            
            if (icon.classList.contains('far')) {
                icon.classList.remove('far');
                icon.classList.add('fas');
                this.classList.add('saved');
                showNotification('收藏成功');
            } else {
                icon.classList.remove('fas');
                icon.classList.add('far');
                this.classList.remove('saved');
                showNotification('取消收藏');
            }
        });
        
        // 分享功能
        const shareBtn = document.querySelector('.share-btn');
        shareBtn.addEventListener('click', function() {
            showNotification('分享功能待实现');
            // 实际项目中可以在这里实现分享到社交媒体的功能
        });
        
        // 举报功能
        const reportBtn = document.querySelector('.report-btn');
        reportBtn.addEventListener('click', function() {
            if (confirm('确定要举报这篇内容吗？')) {
                showNotification('举报已提交，感谢您的反馈');
            }
        });
        
        // 评论按钮聚焦到评论框
        const commentBtn = document.querySelector('.comment-btn');
        const commentInput = document.querySelector('.comment-input');
        
        commentBtn.addEventListener('click', function() {
            commentInput.focus();
        });
        
        // 发表评论
        const postCommentBtn = document.querySelector('.post-comment-btn');
        postCommentBtn.addEventListener('click', function() {
            if (commentInput.value.trim()) {
                showNotification('评论发表成功');
                commentInput.value = '';
                // 实际项目中可以在这里添加新评论到列表
            } else {
                showNotification('请输入评论内容');
            }
        });
        
        // 回复功能
        document.querySelectorAll('.reply-btn').forEach(button => {
            button.addEventListener('click', function() {
                const commentItem = this.closest('.comment-item, .reply-item');
                const repliesContainer = commentItem.querySelector('.replies-container') || 
                                        commentItem.parentNode.appendChild(document.createElement('div'));
                
                if (!repliesContainer.classList.contains('replies-container')) {
                    repliesContainer.classList.add('replies-container');
                }
                
                // 隐藏其他所有回复框
                document.querySelectorAll('.reply-form').forEach(form => {
                    form.style.display = 'none';
                });
                
                // 显示当前回复框，如果不存在则创建
                let replyForm = repliesContainer.querySelector('.reply-form');
                if (!replyForm) {
                    // 获取被回复的用户名
                    const userName = commentItem.querySelector('.author-name').textContent.split(' ')[0];
                    
                    // 创建回复框
                    replyForm = document.createElement('div');
                    replyForm.className = 'reply-form';
                    replyForm.innerHTML = `
                        <img src="https://picsum.photos/100/100?random=101" alt="当前用户头像" class="comment-avatar">
                        <textarea class="reply-input" placeholder="回复 @${userName}..."></textarea>
                        <div class="reply-actions">
                            <button class="reply-btn">回复</button>
                            <button class="cancel-reply-btn">取消</button>
                        </div>
                    `;
                    repliesContainer.appendChild(replyForm);
                    
                    // 为新创建的按钮添加事件监听
                    replyForm.querySelector('.reply-btn').addEventListener('click', function() {
                        const replyInput = this.closest('.reply-form').querySelector('.reply-input');
                        if (replyInput.value.trim()) {
                            showNotification('回复成功');
                            replyInput.value = '';
                            replyForm.style.display = 'none';
                            // 实际项目中可以在这里添加新回复到列表
                        } else {
                            showNotification('请输入回复内容');
                        }
                    });
                    
                    replyForm.querySelector('.cancel-reply-btn').addEventListener('click', function() {
                        replyForm.style.display = 'none';
                    });
                } else {
                    replyForm.style.display = 'flex';
                }
                
                // 聚焦到回复框
                replyForm.querySelector('.reply-input').focus();
            });
        });
        
        // 加载更多评论
        const loadMoreCommentsBtn = document.querySelector('.load-more-comments');
        loadMoreCommentsBtn.addEventListener('click', function() {
            const spinner = this.querySelector('i');
            spinner.style.display = 'inline-block';
            this.disabled = true;
            
            // 模拟加载延迟
            setTimeout(() => {
                spinner.style.display = 'none';
                this.disabled = false;
                showNotification('已加载更多评论');
                // 实际项目中可以在这里加载更多评论
            }, 1500);
        });
    </script>
</body>
</html>
    
